package com.changgou.config.service;

import com.changgou.config.pojo.FreightTemplate;
import com.changgou.entity.PageResult;

import java.util.List;

public interface FreightTemplateService {

    void delete(int id);

    /**
     * 添加运费模板
     * fxq
     * @param freightTemplate
     */
    void add(FreightTemplate freightTemplate);

    /**
     * 查询模板列表
     * @return
     * @param page
     * @param size
     */
    PageResult<FreightTemplate> findAll(int page, int size);

    /**
     * 查询模板下拉框
     * @return
     */
    List<FreightTemplate> findList();
}
